package com.regretbuying.pojo;

import java.io.Serializable;
import java.util.Date;

//评论表
public class Comment implements Serializable {
    private int commentId;                  //编号
    private int goodsId;                    //商品编号
    private int intmemberId;                //会员编号
    private String memberName;              //会员昵称
    private String memberPortrait;          //会员头像
    private String commentTime;             //评论时间
    private String commentContent;          //评论内容
    private int commentType;                //1-好评 2-中评 3-差评

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getIntmemberId() {
        return intmemberId;
    }

    public void setIntmemberId(int intmemberId) {
        this.intmemberId = intmemberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPortrait() {
        return memberPortrait;
    }

    public void setMemberPortrait(String memberPortrait) {
        this.memberPortrait = memberPortrait;
    }

    public String getCommentTime() {
        return commentTime.replace("-", ".");
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public int getCommentType() {
        return commentType;
    }

    public void setCommentType(int commentType) {
        this.commentType = commentType;
    }
}
